<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link rel="stylesheet" type="text/css" href="<?php echo $base_url ;?>css/style2.css" />
        <title><?=$title?></title>

		<?php if(!isset($remove_jqueryui) && !isset($no_jquery)){?>
		<link type="text/css" href="<?php echo $base_url ;?>js/jquery-ui-1.8.16.custom/css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="Stylesheet" />	
		<script type="text/javascript" src="<?php echo $base_url ;?>js/jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="<?php echo $base_url ;?>js/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js"></script>		
		<?php } ?>
	
<?php if(!isset($remove_jquery_effects) && !isset($no_jquery)){?>	
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js"></script>
<?php } ?>

<?php if(!isset($remove_blockui) && !isset($no_jquery)){?>	
<script type="text/javascript" src="<?php echo $base_url; ?>js/jquery.blockUI.js"></script>
<?php } ?>

<script language="javascript">
		<?php if(!isset($remove_jqueryui) && !isset($no_jquery)){?>$.noConflict();<?php } ?>
		var __base_url   = '<?php echo $base_url ;?>';
		var __csrf       = '<?php echo $csrf ;?>';
		var __ts		 = <?php echo time(); ?>;
</script>

<style type="text/css">
	.error_descr {
			font-weight:bold;
			color:red;
			display:none;
			padding:0;
			margin:0;
	}
	form tr.error{
		background-color: #FFDFDF !important;
		margin-bottom:3px !important;
	}
	#cookies-warning{display:none;text-align:center;padding:60px 0 30px 0;}
	#cookies-warning h2{margin-bottom:15px !important;}
</style>

	<?=$head_content?>
	
<style type="text/css">
	
</style>

<link type="text/css" href="<?php echo $base_url ;?>css/dynamic.css" rel="Stylesheet" />	

	</head>
	<body>
		
		<div id="middle">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">

				<tr valign="top">

					<td id="content">
					<?=$content?>
					</td>

				</tr>
			</table>
		</div> <!-- <div id="middle"> -->
		
	</body>
</html>
